import Vue from 'vue'
import VueRouter from 'vue-router'

//FuYin
import Home from './../views/Home.vue'
import Login from './../views/Login.vue'
//列表页
import OverWorkList from './../views/overWorkList.vue'
//详情页
import OverWorkNote from './../views/overWorkNote.vue'
//播放页
import OverWork from './../views/overWork.vue'
//个人中心
import PerCenter from './../views/percenter.vue'
//已上传目录
import VideoList from './../views/VideoList.vue'
//上传选择子类
import AddList from './../views/AddList.vue'
//上传视频
import AddVideo from './../views/AddVideo.vue'
//保存视频基本信息
import AddVideoNote from './../views/AddVideoNote.vue'
//上传视频
import uploadVideo from './../views/uploadVideo.vue'

import Donation from './../views/Donation.vue'

import percentData from './../views/percentData.vue'

import notice from './../views/notice.vue'

import UpdateUserInfo from './../views/UpdateUserInfo.vue'

import ChangePassword from './../views/ChangePassword.vue'

import register from './../views/register.vue'  

import reqsDis from './../views/reqsDis.vue'

import down from './../views/down.vue'

Vue.use(VueRouter);

const router = new VueRouter({
    mode: 'hash',
    base: '/',
    routes: [

        //Funying
        { path: "/", component: Home },
        { path: '/login', component: Login },
        { path: '/Home', component: Home },
        { path: '/overWorkList', component: OverWorkList },
        { path: '/overWorkNote', component: OverWorkNote },
        { path: '/overWork', component: OverWork },
        { path: '/PerCenter', component: PerCenter },
        { path: '/VideoList', component: VideoList },
        { path: '/AddList', component: AddList },
        { path: '/AddVideo', component: AddVideo },
        { path: '/AddVideoNote', component: AddVideoNote },
        { path: '/uploadVideo', component: uploadVideo },
        { path: '/Donation', component: Donation },
        { path: '/percentData', component: percentData },
        { path: '/notice', component: notice },
        { path: '/UpdateUserInfo', component: UpdateUserInfo },
        { path: '/ChangePassword', component: ChangePassword },
        { path: '/register', component: register },
        { path: '/reqsDis', component: reqsDis },
        { path: '/down', component: down }
    ]
})

export default router;
